package com.eden.listener;

import com.alibaba.excel.context.AnalysisContext;
import com.alibaba.excel.event.AnalysisEventListener;
import com.eden.domain.Student;
import org.springframework.stereotype.Component;

/**
 * ClassName: StudentListener
 * Package: com.eden.listener
 * Description: 读取文档的监听器类
 * Date:  2020/10/18 14:12
 *
 * @Author: 李秉林
 */
public class StudentListener extends AnalysisEventListener<Student> {
	
	
	public void invoke(Student data, AnalysisContext context) {
		System.out.println(data);
	}
	
	public void doAfterAllAnalysed(AnalysisContext analysisContext) {
	
	}
}
